package com.api.scenic;


import com.st.entity.Result;
import com.st.entity.ScenicDetail;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Component
@RequestMapping("scenic")
@FeignClient("st-scenic")
public interface IScenicClient {
    @RequestMapping("/getScenicDetailByAid")
    public ScenicDetail getScenicDetailByAid(@RequestParam("attractionsId") Integer attractionsId);
    @RequestMapping("/getScenicById")
    public ScenicDetail getScenicById(@RequestParam("attractionsId")Integer attractionsId);
    //保存轮播图
    @RequestMapping("/saveContent")
    public Result content();

}
